using Core;

namespace CoreTests.Mocks
{
    internal class TestController : IController
    {
        private Game mGame;
        public bool Rendered = false;
        private float zoom = 1.0f;

        public TestController(Game GameToControl)
        {
            mGame = GameToControl;
        }

        #region IController Members

        public Game Game
        {
            get { return mGame; }
            set { mGame = value; }
        }

        public float Zoom
        {
            get { return zoom; }
            set { zoom = Zoom; }
        }

        public void Render()
        {
            Rendered = true;
        }

        #endregion
    }
}